package day8;

/**
 * @author oldliu
 * @since 1.0
 */
public class JavaTeacher extends Teacher {
    public JavaTeacher(String name, int age) {
        super(name, age);
    }

    @Override
    public void giveLession() {
        System.out.println("老师给大家讲java知识，oop等");
        System.out.println("讲完了布置作业！");
    }

}
